package cn.com.mapper;

import cn.com.beans.CollegeInfo;
import cn.com.beans.CollegeInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CollegeInfoMapper {
    long countByExample(CollegeInfoExample example);

    int deleteByExample(CollegeInfoExample example);

    int deleteByPrimaryKey(Integer coId);

    int insert(CollegeInfo record);

    int insertSelective(CollegeInfo record);

    List<CollegeInfo> selectByExample(CollegeInfoExample example);

    CollegeInfo selectByPrimaryKey(Integer coId);

    int updateByExampleSelective(@Param("record") CollegeInfo record, @Param("example") CollegeInfoExample example);

    int updateByExample(@Param("record") CollegeInfo record, @Param("example") CollegeInfoExample example);

    int updateByPrimaryKeySelective(CollegeInfo record);

    int updateByPrimaryKey(CollegeInfo record);

    List<CollegeInfo> findAll(CollegeInfo collegeInfo);


    List<CollegeInfo> fuzzyQueryAll(CollegeInfo collegeInfo);


    /**
     * 查询记录条数
     *
     * @param collegeInfo
     * @return
     */
    Integer findRownum(CollegeInfo collegeInfo);
}